using UnityEngine;

namespace MaterialUI
{
	public static class ComponentExtension
	{
		public static T GetChildByName<T>(this Component component, string name) where T : Component
		{
			return component.gameObject.GetChildByName<T>(name);
		}
	}
}
